<!--
 * @Author: WangGuojian 1085844536@qq.com
 * @Date: 2023-09-08 18:34:44
 * @LastEditTime: 2023-09-11 16:49:43
 * @LastEditors: WangGuojian 1085844536@qq.com
 * @FilePath: \htmld:\Developer\WGJ\VSCode_WorkSpace\Web\vue\vue_test\src\components\School.vue
 * @Description:
-->
<template>
    <div>
        <div class="school">
            <h2 @click="showName">学生姓名：{{ name }}</h2>
            <h2>学生性别：{{ address }}</h2>
        </div>
    </div>
</template>

<script>
import { hunhe, hunhe2 } from '../mixin';

export default {
    name: 'School',
    data() {
        return {
            name: '尚硅谷',
            address: '北京',
        };
    },
    mixins: [hunhe],
};
</script>

<style>
.school {
    background-color: gray;
}
</style>
